package com.wsoft.portal.query.sub;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * <p>
 * 
 * </p>
 *
 * @author Z001
 * @since 2024年12月27日 10:01:48
 */
@Getter
@Setter
public class ModuleSubBaseQuery  {

    @Schema(description = "所属板块")
    @NotNull(message = "所属板块不能为空")
    private Long portalModuleId;

    @Schema(description = "类型(page/link/dc)")
    @NotBlank(message = "类型不能为空")
    private String type;

    @Schema(description = "json数组(返回数据id，图标、名称、路由)")
    private String value;

    @Schema(description = "子版块标题(默认菜单名称)")
    private String title;

    @Schema(description = "是否显示查询")
    private Integer setIsQuery;

    @Schema(description = "是否显示分页")
    private Integer setIsPage;

    @Schema(description = "显示单页数量")
    private Integer setPageCount;

    @Schema(description = "显示字段(code/name数组json)")
    private String setTableCol;

    @Schema(description = "行高度")
    private Integer setTableRowHeight;

    @Schema(description = "是否显示头")
    private Integer setTableHeadShow;

    @Schema(description = "显示大小")
    private String setSize;

    @Schema(description = "是否隐藏纵向边框")
    private Integer setIsHiddenLongBorder;

    @Schema(description = "是否隐藏所有边框")
    private Integer setIsHiddenAllBorder;

    @Schema(description = "是否显示斑马纹")
    private Integer setIsStripe;
}
